import request from '@/utils/request'

const withdrawal = {
    // 提现管理详情
    getWithdraw(query) {
        return request({
            url: '/com.mmk.pay.api.OpenMerchantWithdrawProvider/1.0.0/getWithdraw.html',
            method: 'post',
            data: query
        })
    },
    // 提现管理提交
    withdrawSubmit(query) {
        return request({
            url: '/com.mmk.pay.api.OpenMerchantWithdrawProvider/1.0.0/withdraw.html',
            method: 'post',
            data: query
        })
    },
    // 资产明细查询
    listTradeRecord(query) {
        return request({
            url: '/com.mmk.pay.api.OpenMerchantWithdrawProvider/1.0.0/listTradeRecords.html',
            method: 'post',
            data: query
        })
    },
}

export default withdrawal